﻿@{
	Layout = null;
}

<!DOCTYPE html>

<html>
<head>
	<meta name="viewport" content="width=device-width" />
	<title>每日签到</title>
	<link href="~/Content/jquery.mobile-1.2.0.min.css" rel="stylesheet" />
	<script src="~/Scripts/jquery-1.8.2.min.js"></script>
	<script src="~/Scripts/jquery.mobile-1.2.0.min.js"></script>
	<style type="text/css">
		#a1 {
			float: left;
			background-color: yellow;
			width: 80px;
			height: 80px;
			text-align: center;
			font-size: 50px;
			line-height: 80px;
		}

		#a2 {
			height: 70px;
			margin-left: 100px;
			padding-top: 10px;
			line-height: 24px;
		}
	</style>
</head>
<body>
	<div style="padding: 5px 5px;">
		@using (Html.BeginForm("PostCheckIn", "Task"))
		{
			@Html.Hidden("deviceid", ViewData["DeviceId"])
			<div id="a1">签</div>
			<div id="a2">
				随机获得1-9个积分<br />
				连续签到有惊喜
			</div>
		
			if (!ViewBag.IsCheckIn)
			{
			<input type="submit" value="立刻签到" />
			}
			else
			{
			<div data-role="button">今日已签到</div>
			}
		}
	</div>
</body>
</html>
